-
Couldn't load subscription status.
- Fork 78
feat(FR-873): set dashboard page as a default #3554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(FR-873): set dashboard page as a default #3554
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has required the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
|---|---|---|---|
| 🔴 | Statements | 4.65% (+0% 🔼) |
532/11429 |
| 🔴 | Branches | 3.76% (+0% 🔼) |
302/8022 |
| 🔴 | Functions | 2.88% (+0% 🔼) |
102/3543 |
| 🔴 | Lines | 4.6% (+0% 🔼) |
514/11169 |
Test suite run success
121 tests passing in 14 suites.
Report generated by 🧪jest coverage report action from 4f287da
45855d8 to
995054c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR renames the experimental_dashboard setting to classic_dashboard_page, inverts its logic, and updates all related UI and translations so that the dashboard is the default, with an opt-in classic summary page.
- Updated translation files with new
DescClassicDashboardPageand menu keyClassicDashboardPage, removed obsoleteDescClassicSessionLauncher - Replaced the experimental dashboard checkbox in
UserSettingsPagewith the new classic dashboard toggle - Updated
useBAISettinghook,WebUISidermenu logic, andApp.tsxrouting to useclassic_dashboard_page
Reviewed Changes
Copilot reviewed 25 out of 25 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| resources/i18n/**/*.json | Added DescClassicDashboardPage and ClassicDashboardPage, removed DescClassicSessionLauncher |
| react/src/pages/UserSettingsPage.tsx | Replaced experimental dashboard setting with classic dashboard toggle |
| react/src/hooks/useBAISetting.tsx | Added classic_dashboard_page to UserSettings interface |
| react/src/components/MainLayout/WebUISider.tsx | Inverted menu display based on classic_dashboard_page |
| react/src/App.tsx | Updated route guards to use classic_dashboard_page |
Comments suppressed due to low confidence (1)
react/src/pages/UserSettingsPage.tsx:247
- Add tests for the new
classic_dashboard_pagesetting to verify that the checkbox correctly reflects and persists the default state, and that routing switches between dashboard and summary as expected.
type: 'checkbox',
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
995054c to
af8709b
Compare
af8709b to
0ed6535
Compare
0ed6535 to
5800173
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the failed CI job.
|
@ironAiken2 The jest test files are all passed when I tested them on local env. I think that's the graphite's error. |
|
@agatha197 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why, but it's failing in GitHub Actions. Could you run gt sync once?
|
oh finally it works! It passed all tests! |
086b36f to
c5b0ebc
Compare
49617a3 to
580aafe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c5b0ebc to
89dbeef
Compare
075d561 to
905e57a
Compare
89dbeef to
1a6808a
Compare
1a6808a to
43826b2
Compare
905e57a to
3134151
Compare
43826b2 to
e59548e
Compare
3134151 to
202d296
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
202d296 to
16b9c95
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merge activity
|
16b9c95 to
0d8210e
Compare
e59548e to
11f7d5a
Compare
Resolves #3546 ([FR-873](https://lablup.atlassian.net/browse/FR-873)) ## Rename `experimental_dashboard` to `classic_dashboard_page` with inverted logic This PR renames the user setting `experimental_dashboard` to `classic_dashboard_page` and inverts its logic. The dashboard page is now the default view, and users can opt to use the classic summary page instead. The change affects: - Router configuration in App.tsx - WebUISider menu item display logic - User settings definition and UI controls - All language translation files with updated descriptions This change better reflects that the dashboard is now the standard view rather than an experimental feature, while still allowing users to switch back to the classic summary page if preferred.  **Checklist:** - [x] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after [FR-873]: https://lablup.atlassian.net/browse/FR-873?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
0d8210e to
4f287da
Compare


Resolves #3546 (FR-873)
Rename
experimental_dashboardtoclassic_dashboard_pagewith inverted logicThis PR renames the user setting
experimental_dashboardtoclassic_dashboard_pageand inverts its logic. The dashboard page is now the default view, and users can opt to use the classic summary page instead.The change affects:
This change better reflects that the dashboard is now the standard view rather than an experimental feature, while still allowing users to switch back to the classic summary page if preferred.
Checklist: